package cc.git.liuyan.customeraiagent.core.provider.giteeai.bigmodel.api;

import cc.git.liuyan.customeraiagent.core.provider.giteeai.bigmodel.api.reqandres.GiteeAiBigModelApiRequest;
import cc.git.liuyan.customeraiagent.core.provider.giteeai.bigmodel.api.reqandres.GiteeAiBigModelApiResponse;
import retrofit2.Call;
import retrofit2.http.*;

import java.util.Map;

public interface GiteeAiBigModelApi {
    @POST("chat/completions")
    @Headers("Content-Type: application/json")
    Call<GiteeAiBigModelApiResponse> chatCompletions(@HeaderMap Map<String, String> headers,
                                                     @Body GiteeAiBigModelApiRequest request);
}
